package es.ats.codington.festival.interfaces.daos;


import java.util.ArrayList;
import java.util.Map;

import es.ats.codington.festival.domain.Event;

/**
 * 
 * @author JAVA101_01
 *
 */
public interface iEventDAO {
	

		/**
	 * @param event1
	 * @return
	 * @throws Exception
	 */
	
	public Event viewEvent(int iDevent) throws Exception;

	/**
	 * @return
	 * @throws Exception
	 */
	public ArrayList<Event> viewAllEvents() throws Exception;

	/**
	 * @param event1
	 * @return
	 * @throws Exception
	 */
	public boolean createEvent(Event event1)throws Exception;

	
	/**
	 * @param event1
	 * @return
	 * @throws Exception
	 */
	public boolean updateEvent(Event event1, int idEvent) throws Exception;
	
	/**
	 * @param idvisitor
	 * @return
	 * @throws Exception
	 */
	public ArrayList<Integer> viewMyEvents(int idvisitor) throws Exception;
	
	public ArrayList<Integer> getIdsEvent(int idplace) throws Exception; 
	
}